public class Rect {
    int w;
    int h;
    String c;
    public Rect(int w, int h, String c)
    {
        this.w = w;
        this.h = h;
        this.c = c;
    }
    public void setW(int w)
    {
        this.w = w;
    }
    public int getW()
    {
        return w;
    }
    public void setH(int h)
    {
        this.h = h;
    }
    public int getH()
    {
        return w;
    }
    public void setC(String c)
    {
        this.c = c;
    }
    public String getC()
    {
        return c;
    }
    public void getArea()
    {
        System.out.printf("%d ", this.h * this.w);
    }
}
